#pragma once

using namespace System;

namespace squirrel
{
	namespace interpreter
	{
		public ref class Interpreter
		{
		public:
			void Execute(String^ sqls);
		private:
			static void ShowHint(String^ text)
			{
				ConsoleColor old = Console::ForegroundColor;

				Console::ForegroundColor = ConsoleColor::Green;
				Console::WriteLine(text);
				
				Console::ForegroundColor = old;
			}

			static void ShowError(String^ error)
			{
				ConsoleColor old = Console::ForegroundColor;

				Console::ForegroundColor = ConsoleColor::Red;
				Console::WriteLine(error);
				
				Console::ForegroundColor = old;
			}
		};
	}
}